gsk: Don't overflow vbo_count
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Jun 2021 19:00:41 +0000 (15:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 28 Jun 2021 19:00:41 +0000 (15:00 -0400)
commitbd5e5beee00293e68c2b3f3c281b023958694880
treea1526ef246abad98d1db9987f2b3fb79d70717b9
parent7a493f151dc5b77a0d97aaea60afb1af6c104c73
gsk: Don't overflow vbo_count

We use 16 bits to store vbo_count, so we can't create
batches that have more than 65535 vertices. Pay attention
to that limit when merging batches.
gsk/ngl/gsknglcommandqueue.c